package Q4;

import java.util.ArrayList;
import java.util.Arrays;

public class StudentSysTest {
    public static void main(String[] args) {
        Student s1 = new Student(1, "张三", 17);
        Student s2 = new Student(2, "李四", 17);
        Student s3 = new Student(3, "王五", 18);
        ArrayList<Student> DefaultSys = new ArrayList<>(Arrays.asList(s1,s2,s3));

        StudentSystem stuSys = new StudentSystem(DefaultSys);
        stuSys.run();
    }
}
